package pay.entity.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import pay.entity.AuthenticatedEntity;
import pay.entity.ContestItemEntity;
import pay.entity.SportTypeV2Entity;
import pay.entity.SystemUserAppEntity;

import java.util.Date;
import java.util.List;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class GameVo {
    private Integer id;
    private String onlyName;
    private String name;
    private List<SportTypeV2Entity> sportType;
    private Integer year;
    private Integer period;
    private String periodName;
    private Integer cycle;
    private Integer type;
    private Integer authenticatedId;
    private String phone;
    private Date startTime;
    private Date endTime;
    private String banner;
    private List<String> bannerList;
    private String pic;
    private String picUrl;
    private String region;
    private String regionCode;

    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private Date gameStart;

    @TableField("game_end")
    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss")
    private Date gameEnd;

    @TableField("address")
    private String address;

    @JsonProperty("isStandard")
    private Integer isStandard;

    @JsonProperty("isPublish")
    private Integer isPublish;

    private Integer status;
    private String disclaimer;
    private Date certificateTime;
    private Integer canMultiple;
    private String content;
    private Integer authType;

    @JsonProperty("isRecommend")
    private Integer isRecommend;

    private Integer sortWeight;
    private List<ContestItemEntity> contestItemList;
    private SystemUserAppEntity user;
    private Integer contestItemCount;
    private Integer completeUserCount;
    private AuthenticatedEntity authenticated;
}